package com.yxt.user.feign;

import com.yxt.user.dto.UserDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@RequestMapping("/user")
public interface UserApi {
    @GetMapping("/list")
    public String list(@RequestParam Map<String, Object> params);

    @GetMapping("/info")
    public UserDto findByUserName(@RequestParam("userName") String userName);
}
